package com.clayecloud.common.admin.controller;

import com.clayecloud.common.annotation.NoAuthorization;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ClayeLink
 * @date 2021/12/6 20:12
 */
@RestController
@RequestMapping("/admin")
@Api(tags = "测试接口")
public class AdminTestController {

    @GetMapping("/test/ping")
    @ApiOperation("测试是否正常")
    @NoAuthorization
    public String test(){
        return "pong";
    }

}
